package com.clkj.xiuzheng.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author yawang
 */
@ApiModel( value ="t_cl_product" )
@Table( name ="t_cl_product" )
public class Product  implements Serializable {

    @Id
   	@Column(name = "product_id",updatable = false )
	@ApiModelProperty( value="null")
	private Integer productId;

	/**
	 * 名称
	 */
   	@Column(name = "product_name" )
	@ApiModelProperty( value="商品名称")
	private String productName;

	/**
	 * 规格名称
	 */
   	@Column(name = "format_name" )
	@ApiModelProperty( value="规格名称")
	private String formatName;





	/**
	 * 厂商
	 */
   	@Column(name = "factory_name" )
	@ApiModelProperty( value="厂商")
	private String factoryName;

   	@Column(name = "category_id" )
	@ApiModelProperty( value="null")
	private Integer categoryId;

   	@Column(name = "product_status" )
	@ApiModelProperty( value="null")
	private Integer productStatus;

   	@Column(name = "company_id" )
	@ApiModelProperty( value="null")
	private Integer companyId;

    @Column(name = "product_img" )
    @ApiModelProperty( value="null")
    private String  productImg;


  public Integer getProductId() {
    return productId;
  }

  public void setProductId(Integer productId) {
    this.productId = productId;
  }


  public String getProductName() {
    return productName;
  }

  public void setProductName(String productName) {
    this.productName = productName;
  }


  public String getFormatName() {
    return formatName;
  }

  public void setFormatName(String formatName) {
    this.formatName = formatName;
  }








  public String getFactoryName() {
    return factoryName;
  }

  public void setFactoryName(String factoryName) {
    this.factoryName = factoryName;
  }


  public Integer getCategoryId() {
    return categoryId;
  }

  public void setCategoryId(Integer categoryId) {
    this.categoryId = categoryId;
  }


  public Integer getProductStatus() {
    return productStatus;
  }

  public void setProductStatus(Integer productStatus) {
    this.productStatus = productStatus;
  }


  public Integer getCompanyId() {
    return companyId;
  }

  public void setCompanyId(Integer companyId) {
    this.companyId = companyId;
  }

    public String getProductImg() {
        return productImg;
    }

    public void setProductImg(String productImg) {
        this.productImg = productImg;
    }
}
